package com.ehome.poct.core.api.dto.check;


import com.ehome.poct.base.api.vo.device.TestDeviceVO;
import com.ehome.poct.core.api.vo.patient.PatientDetailVO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 联测请求参数
 *
 * @author cq
 * @since 2022/03/22
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@ApiModel("联测请求参数")
public class OnlineCheckDTO extends OnlineCheckReqDTO {

    public OnlineCheckDTO(OnlineCheckReqDTO req) {
        super(req.getClinicId(), req.getPatientId());
    }

    private PatientDetailVO patient;

    private TestDeviceVO device;
}
